#ifndef UDPSOCKET_H
#define UDPSOCKET_H
#include <QSocketNotifier>
#include <QUdpSocket>
#include <cstdlib>
#include <stdio.h>
#include <QObject>
#include <QtNetwork/QNetworkInterface>
#include <QTextCodec>
#include "systemfile.h"
typedef struct
{
 QString UdpReturn;   //返回信息
}Udp_message;


class udpSocket
{
public:
    udpSocket(systemFile *point);
    void udp_broadcast_reciver_data(void);
    QUdpSocket *udpBroadLink; //udp广播
    systemFile *sysInfo;
    QString getIP();
    QString getLocalIP();

};
#endif // UDPSOCKET_H
